package com.woniuxy.core.exception.productException;

public enum ProductExceptionCode {

    TICKET_INEXISTENCE(3001,"票务不存在"),

    TICKET_CANNOTBUY(3002,"票务不可购买");

    private Integer code;

    private String message;

    ProductExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
